package com.jvyou.subject.domain.service;

import com.jvyou.subject.domain.entity.SubjectCategoryBo;

import java.util.List;

/**
 * @author 橘柚
 * @since 2024/9/26 19:35
 */
public interface SubjectCategoryDomainService {

    void add(SubjectCategoryBo subjectCategoryBo);

    List<SubjectCategoryBo> queryCategory(SubjectCategoryBo subjectCategoryBo);

    /**
     * 更新分类
     *
     * @param subjectCategoryBo 分类
     * @return 更新结果
     */
    Boolean update(SubjectCategoryBo subjectCategoryBo);

    Boolean delete(Long id);
}
